guint32 xdnd_timestamp;
- gint64 last_gc_end_time;
-
gboolean has_modal;
};
global->js_context = g_object_new (GJS_TYPE_CONTEXT,
"search-path", search_path,
- "gc-notifications", TRUE,
NULL);
- g_signal_connect (global->js_context, "gc", G_CALLBACK (shell_global_on_gc), global);
g_strfreev (search_path);
}
g_ptr_array_free (arr, TRUE);
}
-static void
-shell_global_on_gc (GjsContext *context,
- ShellGlobal *global)
-{
- global->last_gc_end_time = g_get_monotonic_time ();
-}
-
/**
* shell_global_notify_error:
* @global: a #ShellGlobal